package org.ch03.job.test03;

/**
 * @author XCH
 * @date 2025 - 03 - 25
 */
public class Dog extends Animal implements ICall, Docile{
    private boolean tame;

    public Dog(boolean tame) {
        this.tame = tame;
    }
    @Override
    public void call() {
        System.out.println("汪汪汪......");
    }

    @Override
    public boolean isTame() {
        return this.tame;
    }
}
